*******************************
 Sekiro Dual Subtitles v1.2
*******************************

Changelog:
1.3 - Importing a small typo correction for English language by Sekiro 1.06
1.2 - Support for sekiro 1.05.
1.1 - Fixed a bug in European languages where half-width spaces (utf8:160) were garbled, e.g. "Dilapidated Temple".
1.0 - Initial release.


About:
This is a mod for Sekiro that adds Japanese original text to subtitles and boss names. 
Note: This mod supports all officially supported languages, but changes the font to a different one than the original (Noto Serif) to display Japanese. This is not only different from your language, but also from the original Japanese font.


Required:
Sekiro Mod Engine - https://www.nexusmods.com/sekiro/mods/6
UXM (for Advanced Method) - https://www.nexusmods.com/sekiro/mods/26


How To Use(Basic Method):
Just install the Sekiro Mod Engine beforehand and then copy the mods directory in 'Dual Subtitles' to \steam\steamapps\common\Sekiro\.

How To Use(Advanced Method, only for English ver):

* You can use this method to play the English version with the same font as the original. Not only the English but also the Japanese font will be the same as the original.
* Do this after you have done the Basic Method above.

First, you need to use UXM to extract the Japanese fonts in Sekiro's resources.
Launch UXM.exe and run Unpack. After waiting for a while, all assets of Sekiro will be extracted, including the necessary Japanese fonts.

Next, you have to copy the extracted Japanese font to the mods directory.
Copy the bundled BAT\copy_fonts.bat to the Sekiro directory and run it, you can copy Japanese fonts to the mods directory at once.

Alternatively, you can manually copy the Japanese font to the location below that corresponds to your language;

English: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\engus_std\font.gfx
French: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\frafr_std\font.gfx
Italian: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\itait_std\font.gfx
German: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\deude_std\font.gfx
Spanish: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\spaes_std\font.gfx
Polish: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\polpl_std\font.gfx
Portuguese: Sekiro\font\jpnjp_std\font.gfx > Sekiro\mods\font\porbr_std\font.gfx

Finally, return to the UXM and run Restore to delete the unwanted files.
copy the mods directory in this directory to the Sekiro directory and you are done!


IMCOMPATIBLE:
Any mod that changes the font or menu.msgbnd.dcx or item.msgbnd.dcx

-Example
Boss Rush - https://www.nexusmods.com/sekiro/mods/429
Font Replacement - https://www.nexusmods.com/sekiro/mods/56?tab=posts
Sekiro Arabic Localisation - https://www.nexusmods.com/sekiro/mods/431
Sekiro Proofread - https://www.nexusmods.com/sekiro/mods/87
Chinese Translation Redone - https://www.nexusmods.com/sekiro/mods/170


Q&A:

* Isn't there a way to use the original font for other languages?
Look at 'More Advanced Method' section, if you have the patience...
Or if your language is one of the European languages, i.e. French, Italian, German, Spanish, Polish or Portuguese, and you don't like the fonts included in this mod, you might want to use a font for English that can be extracted with 'Advanced Method'. You can copy the fonts of those languages together in the batch file.

* Why are some subtitles/bosses' names not displayed in Japanese?
Some of the subtitles/boss names are too long, and Japanese has not been added because they exceed the character limit; a dozen lines for subtitles and one or two for boss names. Also, some of these bosses have only Japanese title names omitted (Seven Ashina Spears).

* How to put a counter-translation on the subtitle/boss's name only?
Delete the corresponding DCX file.

mods\msg\(YOUR_LANGUAGE)\menu.msgbnd.dcx : Subtitles
mods\msg\(YOUR_LANGUAGE)\item.msgbnd.dcx : Boss Names

* Why isn't there one for my language?
Unfortunately, there are no Japanese fonts available for your language... I don't think I can do anything about it. Sorry.

* Why don't you put a counter-translation on the other parts?
This is not possible because the string will break off from the UI frame.


More Advanced Method, COMBINE THE ORIGINAL FONTS:
* Do this after you have done the Basic Method above.
Required - FFDEC, JPEXS Free Flash Decompiler https://github.com/jindrapetrik/jpexs-decompiler/releases
1: Open Sekiro\font\jpnjp_std\font.gfx by FFDEC and run 'Export all parts' at the top.
2: Open Sekiro\font\(YOUR LANGUAGE)_std\font.gfx by FFDEC and click on 'Embed' in the bottom right
3: Select 'Japanese Kana', 'Japanese Kanji', 'Japanese (All)' and click OK to perform the embedding of the Japanese font into the font of your language.
4: Select 'Not to all' as there is no need to replace it.
5: Select Save on the top left to save the font file for your language and copy it to Sekiro\mods\font\(YOUR LANGUAGE)_std\.
WARNING: Don't redistribute fonts merged in this way! Please keep it for personal use.


Credits & Permissions:
* Google, Adobe - Noto Serif JP, Noto Serif KR, Noto Serif SC, Noto Serif TC, Noto Serif Thai

* Permission is granted for secondary use, modification, and redistribution of this mod only within NexusMods (https://www.nexusmods.com/sekiro/). Don't do these on any other site.

-----------------------------

THANKS TO:
Katalash - Sekiro Mod Engine
TKGP - UXM
FROMSOFTWARE
skymoon - For showing me how to embed the font.

-----------------------------
Author: kuroko - https://www.nexusmods.com/skyrim/users/2639692
